package com.fqgj.xjd.user.client.response;

import com.fqgj.common.entity.BaseEntity;
import com.fqgj.xjd.user.client.enums.UserKycStatusEnum;
import com.fqgj.xjd.user.client.enums.UserKycTypeEnum;

import java.io.Serializable;

/**
 * User: zsp
 * Date: 2018-10-24
 * Time: 16:29:20.754
 * TableDesc:
 *
 * @author zsp
 */
public class UserKycDocumentInfo implements Serializable {
    private static final long serialVersionUID = 7755473922127081701L;
    /**
     * 客户码
     */
    private String userCode;
    /**
     * 1-aadhaar, 2-passport, 3-driver license, 4-voter ID
     */
    private UserKycTypeEnum authType;

    /**
     * 认证表主键ID
     */
    private Integer authDocumentId;
    /**
     * 证件ID
     */
    private String cardId;
    /**
     * 证件正面
     */
    private String cardFrontUrl;
    /**
     * 证件反面
     */
    private String cardBackUrl;
    /**
     * 手持照
     */
    private String handHoldUrl;

    /**
     * 生活照
     */
    private String selfieUrl;

    /**
     * 生活照中人数
     */
    private Integer humanBodyNum;

    /**
     * 信息状态：0初始化 1成功 2失败 3重传
     */
    private UserKycStatusEnum status;

    /**
     * 认证类型是aadhaar时需要传
     */
    private UserKycAadhaarInfo userKycAadhaarInfo;


    public String getUserCode() {
        return this.userCode;
    }

    public UserKycDocumentInfo setUserCode(String userCode) {
        this.userCode = userCode;
        return this;
    }

    public UserKycTypeEnum getAuthType() {
        return authType;
    }

    public UserKycDocumentInfo setAuthType(UserKycTypeEnum authType) {
        this.authType = authType;
        return this;
    }


    public Integer getAuthDocumentId() {
        return authDocumentId;
    }

    public UserKycDocumentInfo setAuthDocumentId(Integer authDocumentId) {
        this.authDocumentId = authDocumentId;
        return this;
    }

    public String getCardId() {
        return cardId;
    }

    public UserKycDocumentInfo setCardId(String cardId) {
        this.cardId = cardId;
        return this;
    }

    public String getCardFrontUrl() {
        return cardFrontUrl;
    }

    public UserKycDocumentInfo setCardFrontUrl(String cardFrontUrl) {
        this.cardFrontUrl = cardFrontUrl;
        return this;
    }

    public String getCardBackUrl() {
        return cardBackUrl;
    }

    public UserKycDocumentInfo setCardBackUrl(String cardBackUrl) {
        this.cardBackUrl = cardBackUrl;
        return this;
    }

    public String getHandHoldUrl() {
        return handHoldUrl;
    }

    public UserKycDocumentInfo setHandHoldUrl(String handHoldUrl) {
        this.handHoldUrl = handHoldUrl;
        return this;
    }

    public UserKycStatusEnum getStatus() {
        return status;
    }

    public UserKycDocumentInfo setStatus(UserKycStatusEnum status) {
        this.status = status;
        return this;
    }

    public String getSelfieUrl() {
        return selfieUrl;
    }

    public UserKycDocumentInfo setSelfieUrl(String selfieUrl) {
        this.selfieUrl = selfieUrl;
        return this;
    }

    public Integer getHumanBodyNum() {
        return humanBodyNum;
    }

    public UserKycDocumentInfo setHumanBodyNum(Integer humanBodyNum) {
        this.humanBodyNum = humanBodyNum;
        return this;
    }

    public UserKycAadhaarInfo getUserKycAadhaarInfo() {
        return userKycAadhaarInfo;
    }

    public UserKycDocumentInfo setUserKycAadhaarInfo(UserKycAadhaarInfo userKycAadhaarInfo) {
        this.userKycAadhaarInfo = userKycAadhaarInfo;
        return this;
    }
}
